<template>
    <view class="pageBox-vue">
        <uni-byt-top-com title="首页" :backShow="false"></uni-byt-top-com>
        <view style="height: 50px">我是除了首页还需要固定在顶部的元素，高度50</view>
        <scroll-view scroll-y="true" :style="{ height: scrollHeight + 'px' }">
            <view class="flex-col py-16 px-15">首页首页首页首页首页首页</view>
        </scroll-view>

        <u-loading-page style="z-index: 999" :loading="loading"></u-loading-page>
    </view>
</template>

<script>
import { chatList } from '@/common/admin/index.js';
import { getHeight } from '@/util';
export default {
    data() {
        return {
            loading: false,
            scrollHeight: getHeight(50)
        };
    },
    onLoad(play) {},
    methods: {
        async getList() {
            const res = await chatList({ id: 'ssss' });
        }
    }
};
</script>

<style scoped></style>
